package Java_object0823;

public class ProductTest {
    public static void main(String[] args) {
        Product p1 = new Product("玻璃","2米 x 1米","蓝色",10);
        p1.speak();


        Product p2 = new Product();
        p2.name = "玻璃";
        p2.size = "2米 x 2米";
        p2.color = "米色";
        p2.height = 8;
        p2.speak();
    }
}
